import { createRouter, createWebHashHistory,createWebHistory } from 'vue-router'
import layout from '../layout/index.vue'
 
 
export const publicRoutes = [
  {
    path: '/html2pdf',
    name: 'pdf',
    component: () =>
      import(/* webpackChunkName: "pdf" */ '@/views/pdf.vue'),
    meta: {
      title: 'pdf',
      icon: 'personnel'
    }
  },{
    path: '/info',
    name: 'info',
    component: () =>
      import(/* webpackChunkName: "pdf" */ '@/views/info.vue'),
    meta: {
      title: 'pdf',
      icon: 'personnel'
    }
  }
]
 

const router = createRouter({
  history: createWebHashHistory(),
  routes: publicRoutes
})

export default router
